<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>034-HTML5-Input类型-month</title>
</head>

<body>
    <!-- month 类型允许你选择一个月份。 -->
    <!-- 定义月与年 (无时区): -->
    <form action="demo-form.php">
        生日 ( 月和年 ): <input type="month" name="bdaymonth">
        <input type="submit">
    </form>
</body>

</html>